<?php
/**
 * Class 首页.
 * User: chan
 * Date: 2017/10/20 11:22
 */
namespace app\driver\controller;

class Index extends Base
{
    //检查权限作用域
    protected $beforeActionList  = [
        'checkPrimaryScope' => [
            'only' => 'index'
        ],
    ];

    /**
     * 首页
    */
    public function index(){
        // 获取登录后的会员信息
        $index =  (new \app\driver\logic\Index())->index();
        return dump($index);
    }

}